package com.ruoyi.common.enums;

/**
 * @ClassName HttpStatusConstants
 * @Description 描述
 * @Author HanWL
 * @Date 2024/5/29 22:42
 * @Version 1.0
 **/
public enum HttpStatusEnum {

    // 景区关闭
    JINGQU_CLOSE_STATUS(601, "景区关闭无法预约"),
    // 门票余量不足
    FAIL_ORDER_NO_MENPIAO_NUM(602, "预约失败，该日期门票余量不足"),
    // 当日已经预约过
    FAIL_ORDER_ALREADY_EXIST(603, "预约失败，该日期已经预约过"),

    STATUS_CHANGE(604, "订单状态已改变，请刷新后重试"),


    ERROR_PARAM(701,"参数错误");

    ;

    private Integer code;
    private String message;
    private HttpStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
    public Integer getCode() {
        return code;
    }
    public String getMessage() {
        return message;
    }

}
